package com.villaday.idf.model;

import java.util.List;

/**
 * Created by tudou on 2018/10/12.
 */

public class Houses_filtersEntity {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"types":[{"id":"","name":"全部"},{"id":"0","name":"别墅客栈"},{"id":"3","name":"轰趴场馆"},{"id":"1","name":"特色公寓"},{"id":"4","name":"度假村"}],"filters":{"peoples":[{"id":"-1","name":"不限"},{"id":"1","name":"1人"},{"id":"2","name":"2人"},{"id":"3","name":"3人"},{"id":"4","name":"4人"},{"id":"5","name":"5人"},{"id":"6","name":"6人"},{"id":"7","name":"7人"},{"id":"8","name":"8人"},{"id":"9","name":"9人"},{"id":"10","name":"10+"},{"id":"15","name":"15+"},{"id":"20","name":"20+"},{"id":"25","name":"25+"},{"id":"30","name":"30+"}],"prices":[{"id":"0","name":"0"},{"id":"1000","name":"1000"},{"id":"2000","name":"2000"},{"id":"3000","name":"3000"},{"id":"4000","name":"4000"},{"id":"5000","name":"5000"},{"id":"10000","name":"10000"},{"id":"-1","name":"不限"}],"facilities":[{"id":"泳池","name":"泳池"},{"id":"海边","name":"海边"},{"id":"KTV","name":"KTV"},{"id":"温泉","name":"温泉"},{"id":"厨房","name":"厨房"},{"id":"麻将","name":"麻将"},{"id":"桌游","name":"桌游"},{"id":"烧烤","name":"烧烤"}]},"sorts":[{"id":"","name":"默认排序"},{"id":"price_asc","name":"价格最低"},{"id":"price_desc","name":"价格最高"}]}
     */

    private String code;
    private String status;
    private String msg;
    private BodyEntity body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyEntity getBody() {
        return body;
    }

    public void setBody(BodyEntity body) {
        this.body = body;
    }

    public static class BodyEntity {
        /**
         * types : [{"id":"","name":"全部"},{"id":"0","name":"别墅客栈"},{"id":"3","name":"轰趴场馆"},{"id":"1","name":"特色公寓"},{"id":"4","name":"度假村"}]
         * filters : {"peoples":[{"id":"-1","name":"不限"},{"id":"1","name":"1人"},{"id":"2","name":"2人"},{"id":"3","name":"3人"},{"id":"4","name":"4人"},{"id":"5","name":"5人"},{"id":"6","name":"6人"},{"id":"7","name":"7人"},{"id":"8","name":"8人"},{"id":"9","name":"9人"},{"id":"10","name":"10+"},{"id":"15","name":"15+"},{"id":"20","name":"20+"},{"id":"25","name":"25+"},{"id":"30","name":"30+"}],"prices":[{"id":"0","name":"0"},{"id":"1000","name":"1000"},{"id":"2000","name":"2000"},{"id":"3000","name":"3000"},{"id":"4000","name":"4000"},{"id":"5000","name":"5000"},{"id":"10000","name":"10000"},{"id":"-1","name":"不限"}],"facilities":[{"id":"泳池","name":"泳池"},{"id":"海边","name":"海边"},{"id":"KTV","name":"KTV"},{"id":"温泉","name":"温泉"},{"id":"厨房","name":"厨房"},{"id":"麻将","name":"麻将"},{"id":"桌游","name":"桌游"},{"id":"烧烤","name":"烧烤"}]}
         * sorts : [{"id":"","name":"默认排序"},{"id":"price_asc","name":"价格最低"},{"id":"price_desc","name":"价格最高"}]
         */

        private FiltersEntity filters;
        private List<TypesEntity> types;
        private List<SortsEntity> sorts;

        public FiltersEntity getFilters() {
            return filters;
        }

        public void setFilters(FiltersEntity filters) {
            this.filters = filters;
        }

        public List<TypesEntity> getTypes() {
            return types;
        }

        public void setTypes(List<TypesEntity> types) {
            this.types = types;
        }

        public List<SortsEntity> getSorts() {
            return sorts;
        }

        public void setSorts(List<SortsEntity> sorts) {
            this.sorts = sorts;
        }

        public static class FiltersEntity {
            private List<PeoplesEntity> peoples;
            private List<PricesEntity> prices;
            private List<FacilitiesEntity> facilities;
            private List<RoomsEntity> rooms;

            public List<RoomsEntity> getRooms() {
                return rooms;
            }

            public void setRooms(List<RoomsEntity> rooms) {
                this.rooms = rooms;
            }

            public List<PeoplesEntity> getPeoples() {
                return peoples;
            }

            public void setPeoples(List<PeoplesEntity> peoples) {
                this.peoples = peoples;
            }

            public List<PricesEntity> getPrices() {
                return prices;
            }

            public void setPrices(List<PricesEntity> prices) {
                this.prices = prices;
            }

            public List<FacilitiesEntity> getFacilities() {
                return facilities;
            }

            public void setFacilities(List<FacilitiesEntity> facilities) {
                this.facilities = facilities;
            }

            public static class RoomsEntity {
                /**
                 * id : -1
                 * name : 不限
                 */

                private String id;
                private String name;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public static class PeoplesEntity {
                /**
                 * id : -1
                 * name : 不限
                 */

                private String id;
                private String name;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public static class PricesEntity {
                /**
                 * id : 0
                 * name : 0
                 */

                private String id;
                private String name;
                private boolean isCheck;

                public boolean isCheck() {
                    return isCheck;
                }

                public void setCheck(boolean check) {
                    isCheck = check;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public static class FacilitiesEntity {
                /**
                 * id : 泳池
                 * name : 泳池
                 */

                private String id;
                private String name;

                private boolean isCheck;

                public boolean isCheck() {
                    return isCheck;
                }

                public void setCheck(boolean check) {
                    isCheck = check;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }
        }

        public static class TypesEntity {
            /**
             * id :
             * name : 全部
             */

            private String id;
            private String name;

            private boolean isCheck;

            public boolean isCheck() {
                return isCheck;
            }

            public void setCheck(boolean check) {
                isCheck = check;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public static class SortsEntity {
            /**
             * id :
             * name : 默认排序
             */

            private String id;
            private String name;
            private boolean isCheck;

            public boolean isCheck() {
                return isCheck;
            }

            public void setCheck(boolean check) {
                isCheck = check;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
